<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div onclick="console.log('first div', event.target)">
    <div onclick="console.log('second div', event.target)">
      <button onclick="console.log('button', event.target)">
        Click!
      </button>
    </div>
  </div>

  <div onclick="console.log('div')">
    <p onclick="console.log('p')">
      Click here!
    </p>
  </div>

  <script>


  </script>
</body>

</html>